requirejs.config({
    waitSeconds: 0,
    baseUrl: '.',
    paths: {
        'angularAMD': 'lib/angular-1.3.0/angularAMD.min',
        'autocomplete': 'lib/angular-1.3.0/angucomplete-alt',
        'datetime': 'js/directive/datetimepicker',
        'laydate': 'lib/laydate/laydate',
        'editor': 'js/directive/contenteditable',
        'pagination': 'js/directive/jspagination',
        'floatlayer': 'js/directive/jsfloatlayer',
        'app': 'js/app',
        'omcall': 'js/service/omcall',
        'appmenu':'js/service/menu',
        'ext': 'js/service/ext',
        'excel': 'js/service/excel',
        'factory': 'js/factory',
        'routes': 'js/routes',

        'highcharts': 'lib/highcharts/highcharts',
        'exporting': 'lib/highcharts/exporting',
        'filesaver': 'lib/filesave/filesaver',
        'fileupload': 'lib/upload/ng-file-upload',
        'fileupload-shim': 'lib/upload/ng-file-upload-shim',

        'LoginController': 'js/controllers/login',
        'HomeController': 'js/controllers/home'
    },
    shim: {
        'fileupload': ['fileupload-shim'],
        'highcharts': { exports: 'Highcharts' },
        'exporting': ['highcharts'], //不用exports
        'filesaver': { exports: 'filesaver' },
        'fileupload': { exports: 'fileupload' },
    },
    deps: ['app', 'omcall'],
    urlArgs: 'v=1.61'
});